home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ratselspass 18
/
Ratselspass - Nr 18.iso
/
sokoban
/
sokoba1.bat
< prev
next >
Wrap
DOS Batch File
|
1995-06-18
|
962b
|
47 lines
@Echo off
REM --------------------------------------
REM INSTALLATIONSROUTINE für SHAREBERT
REM Copyright Jens Grabig, 1995
REM ---------------------------------------
if exist C:\sokoban\nul goto warnung
md C:\sokoban
md c:\sokoban\ebene
xcopy \sokoban\*.* C:\sokoban>NUL
xcopy \sokoban\ebene\*.* c:\sokoban\ebene>NUL
C:
cd\
cd sokoban
attrib -r *.* /S
attrib -a *.* /S
sokoban.exe
Echo.|date>Datum.txt
Find "Y" datum.txt>NUL
IF errorlevel 1 goto deutsch
If errorlevel 0 goto usa
:usa
cd ebene
echo y|del *.* >NUL
cd..
rd ebene
echo y|del *.* >NUL
cd\
rd sokoban
goto end
:deutsch
cd ebene
echo j|del *.* >NUL
cd..
rd ebene
echo j|del *.* >NUL
cd\
rd sokoban
goto end
:warnung
Echo Sie haben schon ein Verzeichnis mit dem Namen "Sokoban" auf
Echo ihrer Festplatte C:\ gespeichert. Wenn Sie das gewählte Programm
Echo starten wollen, müssen Sie zunächst dieses Verzeichnis umbenennen
Echo oder löschen.
Pause
:end